<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><?php echo ($seo['title']); ?></title>
<meta name="keywords" content="<?php echo ($seo['keywords']); ?>"/>
<meta name="description" content="<?php echo ($seo['description']); ?>"/>
<link href="<?php echo C('WWWURL');?>/static/style/style.css?v=20140107" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<?php echo C('WWWURL');?>/static/js/jquery-1.9.1.js"></script>
<script type="text/javascript" src="<?php echo C('WWWURL');?>/static/mediaplayer-3-16/swfobject.js"></script>
<script type="text/javascript" src="__JS__common.js"></script>
<script type="text/javascript"> 
var  STATIC_URL= '<?php echo C("WWWURL");?>/';
var isNSupportFlash = !! (document.createElement("video").canPlayType && document.createElement("video").canPlayType("video/mp4"));
var isNSupportFlashAudio = !! (document.createElement("audio").canPlayType && document.createElement("video").canPlayType("audio/mpeg"));
var HAOWJ = '<?php echo C("WWWURL");?>/';
//var isNSupportFlash = !! document.createElement("audio").canPlayType && document.createElement("audio").canPlayType("audio/mpeg") && navigator.userAgent.indexOf("Maxthon") < 0;
	
</script>
<link rel="stylesheet" type="text/css" href="/Public/style/user.css" />
<link rel="shortcut icon" href="<?php echo C('WWWURL');?>/static/style/images/favicon.ico" type="/image/x-icon" />
</head>

<body id="body123">


<div class="box">
<!--顶部 Start-->
	<div class="hTop">
		
         <div class="hTop_h2"><a href="<?php echo C('WWWURL');?>">返回首页</a></div>
       
        <div class="hTop_r">
        	<div class="hTop_rb">
            <a href="<?php echo U('/User/Index');?>">个人中心</a> | <a href="###" class="hTop_r_exit">退出</a>
        	</div>
        	<span>欢迎您，<a href="<?php echo U('/User/Index');?>" target="_blank"><?php echo ($userInfo["user_name"]); ?></a></span>
        </div>
       
    </div>
    <!--顶部 End-->
    
     <!--头部 Start-->
    <div class="head cl">
    	<a href="<?php echo C('WWWURL');?>" class="logo" title="好外教"></a>
        <h1>全美顶尖外教1对1口语培训</h1>
        <div class="phone">400-686-9850</div>
    </div>
	

    <!--头部 End-->
	<div class="nav">
    	<a onClick="clickCount(37);" <?php if($module_name == 'Index'): ?>class="nav_current"<?php endif; ?>    href="<?php echo U('/User/Index');?>">个人中心</a>
        <a onClick="clickCount(39);"  <?php if($module_name == 'Order'): ?>class="nav_current"<?php endif; ?>   href="<?php echo U('/User/Order/index');?>">购买记录<span class="sup">1</span></a>
        <a onClick="clickCount(40);" <?php if($module_name == 'Grade'): ?>class="nav_current"<?php endif; ?>  href="<?php echo U('/User/Grade');?>">评分管理<em class="news" style="background:url(__PUBLIC__/images/xbk.png) no-repeat; background-position: 0px -280px; width:20px; height:20px; right:-20px; top:4px;"></em></a>
		<div class="nav_my  userlead" >
		<a  class="nav_current" style=" float:right;font-size:14px; background-color:#FFFFFF; border-bottom:none; color:#424243; cursor: pointer;" ><p class="icon" style=" background-position:-120px -245px; width:30px; height:25px; float:left; margin-top:10px; "></p>新手引导</a>
		</div>
    </div>

<style type="text/css">
  
    .my_score_tea_t{line-height: 40px;padding-bottom: 0px}
    .my_score_tea_t p{text-indent: 30px; line-height: 30px;}
    .my_score_tea_t .strong{color: #b88349; font-weight: bold}
    .my_score_cont dl{line-height: 40px;font-size: 14px}
</style>
    <!--个人中心-评分管理 Start-->
  	<div class="my_score" style="padding:0px;">
  		
        <?php foreach ($res as $k=>$r){ $my_score_date_y = date("Y",$r["create_time"]); $my_score_date_m = date("M",$r["create_time"]); $my_score_date_d = date("d",$r["create_time"]); ?>
				
    	<div class="my_score_li cl" >
		 	
				
        	<div class="my_score_date" style="margin-left:40px;display:inline; margin-top:30px; height:100%;" >
            	<span class="my_score_date_d"><?php echo $my_score_date_d; ?></span>
                <span class="my_score_date_y"><?php echo $my_score_date_m." ".$my_score_date_y; ?></span>
            </div>
           
            <div class="my_score_m" style="margin-right:40px;display:inline;" >
            	<div class="my_score_mt"><?php if($r["type"]==1){echo "外教体验课";}elseif($r["type"]==2){echo "Lesson ".$r["lesson_id"].":". $lesson_info[$r["lesson_id"]-1]["title"];;}elseif($r["type"]==10){echo "Lesson ".$r["lesson_id"].":". $r["lesson_title"];}else{ echo "Lesson ".$r["lesson_id"].":". $lesson_info[$r["lesson_id"]]["title"];} ?></div>
                <div class="my_score_c cl">
                	<div class="my_score_tea cl">
                    	<img alt="" src="<?php echo STATIC_URL; ?>/static/style/images/adv.png">
                        <div class="my_score_tea_t">外教: <strong><?php echo $r["teacher_name"]; ?></strong></div>
                        <div class="my_score_tea_t">得分: <?php if($r["score"]){ echo $a[$r["score"]]; ?> <strong><?php echo 'score: '.$r["score"]; ?></strong><?php } ?> </div>
                        <div class="my_score_tea_t"><?php  if($r["teacher_comment"]){echo $r["teacher_comment"];}else{ echo "您将在24小时内收到外教对这节课的评语，谢谢！";} ?></div>
                    </div>
                    <?php if($r["flag"] == 1){ ?>
                    <div class="my_comment_res">
                   
                    <div class="my_score_cont">
                    	<dl>
                        	<dt>我对外教的评价：</dt>
                            <dd><?php echo $r["my_comment"]; ?></dd>
                        </dl>
                    </div>
                     </div>
                    <?php }else{ ?>
                    <a href="<?php echo U('User/Grade/doGrade');?>?id=<?php echo $r['id'] ?>" target="_blank"><div sid="<?php echo $k; ?>" cid="<?php echo $r['cid'] ?>" id="my_score_button_<?php echo $k; ?>" class="my_score_button my_score_button_down">给外教评价<b></b></div></a>
					
					
                    
                    <div class="my_comment_res">
                    </div>
                    <?php } ?>    
					
                </div>
            </div>
        </div>
        
         <?php } ?>
    </div>
	
    
   

<div class="footer cl">
    	<ul class="fl">
        	<li>
            	<h4>关于好外教</h4>
                <dl>
                <dd><a target="_blank" href="<?php echo C('WWWURL');?>/introduction.htm#Come"><b></b><strong>好外教介绍</strong></a></dd>
                <dd><a target="_blank" href="<?php echo C('WWWURL');?>/join.htm#Come"><b></b><strong>加入我们</strong></a></dd>
                <dd><a target="_blank" href="<?php echo C('WWWURL');?>/contact.htm#Come"><b></b>联系我们</a></dd>
                <dd><a target="_blank" href="<?php echo C('WWWURL');?>/serviceagreement.htm#Come"><b></b>服务协议</a></dd>
                </dl>
            </li>
            <li class="footer_li_2">
            	<dl>
            	<dt>学习系统</dt>
                <dd><a target="_blank" href="<?php echo C('WWWURL');?>/courseintroduction.htm"><b></b>课程体系</a></dd>
                <dd><a target="_blank" href="<?php echo C('WWWURL');?>/service.htm"><b></b>服务特色</a></dd>
                <dd><a target="_blank" href="<?php echo C('WWWURL');?>/teacherteam.htm"><b></b>专业师资</a></dd>
                <dd><a target="_blank" href="<?php echo C('WWWURL');?>/courseconsultant.htm"><b></b>贴心顾问</a></dd>
                <!--<dd><a target="_blank" href="#"><b></b>使用流程</a></dd>-->
                </dl>
            </li>
            <li class="footer_li_3">
            	<dl>
            	<dt>学习资料</dt>
				<dd><a target="_blank" href="<?php echo C('WWWURL');?>/mothersday.htm"><b></b>学员故事</a></dd>
                <dd><a target="_blank" href="<?php echo C('WWWURL');?>/bbc/index.htm"><b></b>BBC NEWS</a></dd>
                </dl>
            </li>
            <li>
            	<dl>
            	<dt>关注我们</dt>
                <dd><a target="_blank" href="http://e.weibo.com/ciba"><b class="footer_b_sina"></b>新浪微博</a></dd>
                </dl>
            </li>
        </ul>
        <div class="fr">
        	<div class="footer_fr">
                <div class="phone">400-686-9850<p>info@haowj.com</p></div>
                <div class="footer_qr">
                    <div class="footer_qr_1"></div>
                    <div class="footer_qr_2"></div>
                </div>
            </div>
        </div>
    </div>
  
    <div class="copy">
    	<div class="copy_r"><a target="_blank" href="<?php echo C('WWWURL');?>/licence/001.jpg">京ICP证100054号</a><a target="_blank" href="http://www.kingsoft.com/licence/002.jpg">新出网证<京>字001号 </a> <a target="_blank" href="http://www.miitbeian.gov.cn">京ICP备14019197-1号</a>©2003 Kingsoft Corp 京公网安备11010802014093号</div>
    </div>
    <!--版权 End-->
       
    <script type="text/javascript" src="<?php echo C('WWWURL');?>/static/js/user_register.js?v=20131204"></script>
    
   
   
 
    <!--右侧在线咨询 Start-->
    <a  class="pendant" target="_blank" href="http://chat16.live800.com/live800/chatClient/chatbox.jsp?companyID=294632&jid=1826801284&enterurl=http%3A%2F%2Flocalhost%2Fhaowaijiao%2Findex.php&pagetitle=%E5%A4%96%E6%95%99%E4%B8%80%E5%AF%B9%E4%B8%80_%E8%8B%B1%E8%AF%AD%E5%A4%96%E6%95%99_%E8%8B%B1%E8%AF%AD%E5%8F%A3%E8%AF%AD%E5%AD%A6%E4%B9%A0_%E8%8B%B1%E8%AF%AD%E5%9F%B9%E8%AE%AD_%E5%A5%BD%E5%A4%96%E6%95%99%E7%BD%91_%E5%85%A8%E7%BE%8E%E9%A1%B6%E5%B0%96%E5%A4%96%E6%95%991%E5%AF%B91%E5%8F%A3%E8%AF%AD%E5%9F%B9%E8%AE%AD&pagereferrer=http%3A%2F%2Flocalhost%2F&lan=zh&tm=1374633880123"></a>
    <style type="text/css">
        .two_codes {
            position: fixed;
            bottom: 50px;
            right: 0px;
            z-index: 100;
            _position: absolute;
            _bottom: auto;
            _top: expression(eval(document.compatMode && document.compatMode=='CSS1Compat') ? documentElement.scrollTop + 500 : document.body.scrollTop+(document.body.clientHeight-this.clientHeight) - 1);
            cursor:pointer;
        }
    </style>
    <!-- wechat start-->
    <a class="two_codes">
        <img src="<?php echo C('WWWURL');?>/static/style/images/imgs/two_code.png" alt="'好外教'微信" />
        <img src="<?php echo C('WWWURL');?>/static/style/images/index/weibo_logo.png" alt="'好外教'微信" />
    </a>